﻿<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="${path }/resource/plugin/hui/lib/html5.js"></script>
<script type="text/javascript" src="${path }/resource/plugin/hui/lib/respond.min.js"></script>
<script type="text/javascript" src="${path }/resource/plugin/hui/lib/PIE_IE678.js"></script>
<![endif]-->

<!-- 本框架基本脚本和样式 -->
<script type="text/javascript"
	src="${path }/resource/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript"
	src="${path }/resource/js/systools/EXBase.js"></script>


<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title></title>
</head>
<body>
	<form class="form form-horizontal" method="post" action="super/btn/addOrModify" id="dataform" onsubmit="javascripr:return false;" >
		<c:if test="${obj ne null }">
			<input type="hidden" name="id" value="${obj.id }" >
		</c:if>
		<div class="row cl">
			<label class="form-label col-2">按钮名称</label>
			<div class="formControls col-6">
				<input type="text" dataType="*1-50" class="input-text" name="btnKey" value="${obj.btnKey }"
					datatype="*1-16" nullmsg="按钮名称不能为空">
			</div>
			<div class="col-4">
				<span class="Validform_checktip"></span>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-2">按钮值</label>
			<div class="formControls col-6">
				<input type="text" dataType="*1-50" class="input-text" value="${obj.btnValue }"
					name="btnValue" nullmsg="按钮值不能为空">
			</div>
			<div class="col-4">
				<span class="Validform_checktip"></span>
			</div>
		</div>
		<div class="row cl">
			<div class="col-9 col-offset-3">
				<button type="button" onclick="EXForm.submit()" class="btn btn-success radius"
					id="save-btn">保存</button>
			</div>
		</div>
	</form>
	<script type="text/javascript">
		EXForm.initForm();
	</script>
</body>
</html>